/*
 * @Author: 尔尔
 * @Date: 2024-06-17 10:17:56
 * @LastEditors: 尔尔
 * @LastEditTime: 2024-06-18 11:48:01
 * @FilePath: \ERP\src\views\Home\chartOption.js
 * @filePurpose:
 */
import * as echarts from "echarts"
import china from "./china.json"

echarts.registerMap("china", {
	geoJSON: china
})
export const option4 = {
	tooltip: {
		show: false
	},
	geo: {
    center: [108.948024, 35.763161],
		map: "china",
		label: {
			emphasis: {
				show: true,
				color: "#fff"
			}
		},
		// 把中国地图放大了1.2倍
		zoom: 1.7,
		roam: true,
		itemStyle: {
			// 地图省份的背景颜色
			areaColor: "#1269D4",
			borderColor: "#195BB9",
			borderWidth: 1,
			emphasis: {
				areaColor: "#548ae7"
			}
		}
	}
	// series: series
}
